package ishitong.vehicleManagement.service.biz;

import com.ishitong.platform.common.page.Page;
import ishitong.vehicleManagement.model.ImportantVehicleQuery;
import ishitong.vehicleManagement.model.ImportantVehicle;
import java.util.List;

/** @pdOid 2f2aba48-337e-405b-b95b-0811360f3f72
 * @创建日期:2013-10-11 15:26:06
 * 
 * @功能描述:ImportantVehicle业务服务接口
 * @开发人员:福建视通 */
public interface ImportantVehicleService {
   /** @param id
    * @pdOid 12b0985d-bc86-4f49-9419-ec6fa2f849fa
    * @功能描述: 删除ImportantVehicle
    * @异常类型: */
   void delete(String id);
   /** @param importantVehicle
    * @pdOid c7a3714b-2a62-4a3b-be58-827b6ba577ce
    * @功能描述: 删除ImportantVehicle
    * @异常类型: */
   void deleteByModel(ImportantVehicle importantVehicle);
   /** @param id
    * @pdOid d0bc209d-ee7c-4398-ba39-61167bf2fc79
    * @功能描述: 查询ImportantVehicle
    * @异常类型: */
   ImportantVehicle findById(String id);
   /** @param importantVehicle
    * @pdOid 079e7ad1-a054-43bc-945d-6ede94b66672
    * @功能描述: 新增与修改ImportantVehicle
    * @异常类型: */
   void save(ImportantVehicle importantVehicle);
   /** @param query 
    * @param pageSize 
    * @param pageNum
    * @pdOid 1fad6d31-2e31-4c95-8ae4-13defb72f9b7
    * @功能描述: 通过ImportantVehicleQuery对象，查询ImportantVehicle
    * @异常类型: */
   Page<ImportantVehicle> findPage(ImportantVehicleQuery query, int pageSize, int pageNum);
   /** @param query
    * @pdOid c49162bb-4b69-48a9-81c4-3dc09bdb7f28
    * @功能描述: 通过ImportantVehicleQuery对象，查询ImportantVehicle
    * @异常类型: */
   List<ImportantVehicle> findList(ImportantVehicleQuery query);

}